<template>
  <div id="app">
    <!--    <HelloWorld></HelloWorld>-->
    <!--    <Home></Home>-->
    <!--    <Imgs></Imgs>-->
    <Son :abc="title"></Son>
    <input type="text" v-model="title">
  </div>
</template>
<!-- 主(父)组件 -->
<script>
  /* 导入组件 */
  // import HelloWorld from "./components/HelloWorld";
  // import Home from "./components/Home";
  //HelloWorld,Home
  // import Imgs from "./components/Imgs";
  import Son from "./components/Son";

  export default {
    name: 'App',
    components: {Son}, //引用使用
    data() {
      return {
        title: "暂无"
      }
    }
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
</style>
